package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:用户注册实体类
 * @date:2020/2/121100
 */
@Data
@ApiModel
public class UserRegisterBo implements Serializable {
   private static final long serialVersionUID=6776555685477223688L;

   @ApiModelProperty(value = "用户名")
    private  String username;
   @ApiModelProperty(value = "密码")
    private  String password;
   @ApiModelProperty(value = "手机号码")
    private  String phone;
   @ApiModelProperty(value = "邮箱")
    private  String email;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
